home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / X11 / xkb / symbols / gb < prev    next >
Encoding:
Text File  |  2009-03-31  |  4.6 KB  |  139 lines

  1. // $XKeyboardConfig$
  2.  
  3. // based on a keyboard map from an 'xkb/symbols/gb' file
  4. //
  5. // $XFree86: xc/programs/xkbcomp/symbols/gb,v 1.6 2003/10/04 10:25:14 pascal Exp $
  6.  
  7. partial default alphanumeric_keys
  8. xkb_symbols "basic" {
  9.  
  10.     // Describes the differences between a very simple en_US
  11.     // keyboard and a very simple U.K. keyboard layout defined by
  12.     // the SVR4 European Language Supplement and sometimes also
  13.     // known as the IBM 166 layout.
  14.  
  15.     include "latin"
  16.  
  17.     name[Group1]="United Kingdom";
  18.  
  19.     key <AE02>    { [         2,   quotedbl,  twosuperior,    oneeighth ]    };
  20.     key <AE03>    { [         3,   sterling, threesuperior,    sterling ]    };
  21.     key <AE04>    { [         4,     dollar,     EuroSign,   onequarter ]    };
  22.  
  23.     key <AC11>    { [apostrophe,         at, dead_circumflex, dead_caron]    };
  24.     key <TLDE>    { [     grave,    notsign,          bar,          bar ]    };
  25.  
  26.     key <BKSL>    { [numbersign, asciitilde,   dead_grave,   dead_breve ]    };
  27.     key <LSGT>    { [ backslash,        bar,          bar,    brokenbar ]    };
  28.  
  29.     include "level3(ralt_switch_multikey)"
  30. };
  31.  
  32. partial alphanumeric_keys 
  33. xkb_symbols "intl" { 
  34.  
  35.     // Describes the differences between a very simple en_US 
  36.     // keyboard and a very simple U.K. keyboard layout with 
  37.     // dead keys. By Phil Jones (philjones1@blueyonder.co.uk) 
  38.  
  39.     // Includes the following keys: 
  40.     // dead_grave 
  41.     // dead_acute 
  42.     // dead_circumflex 
  43.     // dead_tilde 
  44.     // dead_diaeresis 
  45.  
  46.     include "latin" 
  47.  
  48.     name[Group1]="United Kingdom - International (with dead keys)"; 
  49.  
  50.     key <AE02>  { [   2,  dead_diaeresis,      twosuperior,     onehalf ] };
  51.     key <AE03>  { [   3,        sterling,    threesuperior,    onethird ] };
  52.     key <AE04>  { [   4,          dollar,         EuroSign,  onequarter ] };
  53.     key <AE06>  { [   6, dead_circumflex,         NoSymbol,    onesixth ] };
  54.  
  55.     key <AC11>  { [ dead_acute,         at,     apostrophe,         bar ] };
  56.     key <TLDE>  { [ dead_grave,    notsign,            bar,         bar ] };
  57.  
  58.     key <BKSL>  { [ numbersign, dead_tilde,            bar,         bar ] };
  59.     key <LSGT>  { [  backslash,        bar,            bar,         bar ] };
  60.  
  61.     include "level3(ralt_switch)"
  62. };
  63.  
  64. // Describe the differences between the US Colemak layout
  65. // and a UK variant. By Andy Buckley (andy@insectnation.org)
  66.  
  67. partial alphanumeric_keys
  68. xkb_symbols "colemak" {
  69.     include "us(colemak)"
  70.  
  71.     name[Group1]="United Kingdom - Colemak";
  72.  
  73.     key <AE02>    { [         2,   quotedbl,  twosuperior,    oneeighth ]    };
  74.     key <AE03>    { [         3,   sterling, threesuperior,    sterling ]    };
  75.     key <AE04>    { [         4,     dollar,     EuroSign,   onequarter ]    };
  76.  
  77.     key <AC11>    { [apostrophe,         at, dead_circumflex, dead_caron]    };
  78.     key <TLDE>    { [     grave,    notsign,          bar,          bar ]    };
  79.  
  80.     key <BKSL>    { [numbersign, asciitilde,   dead_grave,   dead_breve ]    };
  81.     key <LSGT>    { [ backslash,        bar,          bar,    brokenbar ]    };
  82.  
  83.     include "level3(ralt_switch_multikey)"
  84. };
  85.  
  86.  
  87. // Dvorak (UK) keymap (by odaen) allowing the usage of
  88. // the ¬£ and ? key and swapping the @ and " keys.
  89.  
  90. partial alphanumeric_keys
  91. xkb_symbols "dvorak" {
  92.     include "us(dvorak-intl)"
  93.  
  94.     name[Group1]="United Kingdom - Dvorak";
  95.  
  96.     key <AD01> { [ apostrophe,    at        ] };
  97.     key <AE02> { [        2,    quotedbl,  twosuperior,   NoSymbol    ] };
  98.     key <AE03> { [        3,    sterling,  threesuperior, NoSymbol    ] };
  99.     key <BKSL> { [ numbersign,    asciitilde    ] };
  100.     key <LSGT> { [  backslash,    bar        ] };
  101.     key <TLDE> { [    grave,    notsign,   bar,           bar        ] };
  102. };
  103.  
  104. // Dvorak letter positions, but punctuation all in the normal UK positions.
  105. partial alphanumeric_keys
  106. xkb_symbols "dvorakukp" {
  107.     include "gb(dvorak)"
  108.  
  109.     name[Group1]="United Kingdom - Dvorak (UK Punctuation)";
  110.  
  111.     key <AE11> {        [     minus,    underscore      ]       };
  112.     key <AE12> {        [     equal,    plus            ]       };
  113.     key <AD11> {        [ bracketleft,  braceleft       ]       };
  114.     key <AD12> {        [ bracketright, braceright      ]       };
  115.     key <AD01> {        [ slash,        question        ]       };
  116.     key <AC11> {        [apostrophe,    at,         dead_circumflex, dead_caron] };
  117. };
  118.  
  119. // Copied from macintosh_vndr/gb
  120. partial alphanumeric_keys 
  121. xkb_symbols "mac" {
  122.  
  123.     // Describes the differences between a very simple en_US
  124.     // keyboard and a very simple U.K. keyboard layout
  125.  
  126.     include "latin"
  127.  
  128.     name[Group1]= "United Kingdom - Macintosh";
  129.  
  130.     key <AE02> {    [               2,              at,         EuroSign    ]    };
  131.     key <AE03> {    [               3,        sterling,       numbersign    ]    };
  132.  
  133.     // End alphanumeric section
  134.     
  135.     include "level3(ralt_switch)"
  136. };
  137.  
  138.  
  139.